﻿using Demo.Api.Entities;

namespace Demo.Api.Models
{
    public class ReverseClearLineAndNodeDto
    {
        /// <summary>
        ///     线Id
        /// </summary>
        public long LineId { get; set; }

        /// <summary>
        ///     节点Id
        /// </summary>
        public long NodeId { get; set; }

        /// <summary>
        ///     流程Id
        /// </summary>
        public long FlowChartId { get; set; }

        public ReverseClearLineAndNodeDo To()
        {
            return new ReverseClearLineAndNodeDo() { FlowChartId = FlowChartId, LineId = LineId, NodeId = NodeId };
        }
    }
}